#include <stdio.h>

/**
 * http://icpcres.ecs.baylor.edu/onlinejudge/external/4/458.html
 *
 * @author  Jonhnny Weslley
 * @version 1.00, 19/10/2008
 */
int main(){
  char c;
  while((c = getchar())!= EOF){
    if(c=='\n')
      putchar('\n');
    else 
      putchar(c-7);        
  }
  return 0;
}
